package com.yunfei.api.user.result;

import com.yunfei.utils.string.StringUtil;
import io.swagger.annotations.ApiModelProperty;

/**
 * @program: zntg_v1
 * @description: 用户个人基本信息
 * @author: zhengyunfei
 * @create: 2018-10-30 13:47
 **/
public class UserInfoResult implements java.io.Serializable{
    @ApiModelProperty(value = "头像")
    private String headIcon;//头像
    @ApiModelProperty(value = "昵称")
    private String nickName;//昵称
    @ApiModelProperty(value = "简介")
    private String remark;//简介
    @ApiModelProperty(value = "联系方式")
    private String mobile;//联系方式
    @ApiModelProperty(value = "身份 01投资者 02 理财师 03 机构")
    private String identity;//身份 01投资者 02 理财师 03 机构
    @ApiModelProperty(value = "客户号")
    private String custNo;//客户号
    @ApiModelProperty(value = "客户名称")
    private String custName;//客户名称
    @ApiModelProperty(value = "实名认证状态 0去认证 1 待审核 2 审核驳回 ")
    private int smrzStatus;//实名认证状态
    @ApiModelProperty(value = "实名认证状态：去认证 待审核 审核驳回 ")
    private String smrzStatusName;//实名认证状态
    @ApiModelProperty(value = "风险投资承诺函：Y，代表同意投资者承诺函，否则为不同意或未点")
    private String feiXianTouZiChengRuoHanStatus;//
    @ApiModelProperty(value = "风险问卷调查判断：0-未做风险调查问卷，<>0-已做风险问卷调查")
    private int fengXianWenJuanStatus;//风险问卷调查判断：0-未做风险调查问卷，<>0-已做风险问卷调查

    public String getSmrzStatusName() {
        return smrzStatusName;
    }

    public void setSmrzStatusName(String smrzStatusName) {
        this.smrzStatusName = smrzStatusName;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getFeiXianTouZiChengRuoHanStatus() {
        return feiXianTouZiChengRuoHanStatus;
    }

    public void setFeiXianTouZiChengRuoHanStatus(String feiXianTouZiChengRuoHanStatus) {
        this.feiXianTouZiChengRuoHanStatus = feiXianTouZiChengRuoHanStatus;
    }

    public int getFengXianWenJuanStatus() {
        return fengXianWenJuanStatus;
    }

    public void setFengXianWenJuanStatus(int fengXianWenJuanStatus) {
        this.fengXianWenJuanStatus = fengXianWenJuanStatus;
    }

    public int getSmrzStatus() {
        System.out.println("smrzStatusName======="+smrzStatusName);
        if("去认证".equals(smrzStatusName)){
            smrzStatus=0;
        }
        if("待审核".equals(smrzStatusName)){
            smrzStatus=1;
        }
        if("审核驳回".equals(smrzStatusName)){
            smrzStatus=2;
        }
        if("查看".equals(smrzStatusName)){
            smrzStatus=3;
        }
        return smrzStatus;
    }

    public void setSmrzStatus(int smrzStatus) {
        this.smrzStatus = smrzStatus;
    }

    public String getCustNo() {
        return custNo;
    }

    public void setCustNo(String custNo) {
        this.custNo = custNo;
    }

    public String getIdentity() {
        if(StringUtil.isNullOrEmpty(identity)){
            identity="";
        }
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getHeadIcon() {
        if(StringUtil.isNullOrEmpty(headIcon)||"undefined".equals(headIcon)){
            headIcon="";
        }
        return headIcon;
    }

    public void setHeadIcon(String headIcon) {
        this.headIcon = headIcon;
    }

    public String getNickName() {
        if(StringUtil.isNullOrEmpty(nickName)){
            nickName="";
        }
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRemark() {
        if(StringUtil.isNullOrEmpty(remark)){
            remark="";
        }
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMobile() {
        if("00000000000".equals(mobile)){
            mobile="";
        }
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
}
